﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BaseData.ErrorCode.ErrorCodes
{

    /// <summary>
    /// 状态码枚举
    /// </summary>
    public enum StatusCodeEnum
    {
        //业务状态码
        Ok = 200,
        Fail = 500,
        Exception = 999,
        ObjNotFound = 888,
        ObjExist = 777,

        //用户相关状态码
        UserNotExist = 1001,
        UserExist = 1002,
        UserPasswordError = 1003,
        UserNotLogin = 1004,

        //审批
        ApprovalSuccess = 2001,//通过
        ApprovalFail = 2002,//驳回
        ApprovalResubmit = 2003,//重新提交
    }
}
